<template>
    <base-cascader :options="options" v-model="val"></base-cascader>
</template>

<script>

    import BaseCascader from './base-cascader';

    export default {
		components: {BaseCascader},
        props:{
			options: {
				default: Object,
				required: true,
			},
			value: {
				required: true
			}
		},
		created(){

		},
		computed:{
			val:{
				get(){
					return this.value || [];
				},
				set(value){
					this.$emit('input', value)
				}
			}
		}
    }
</script>

<style scoped>

</style>
